home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-03 | 2.0 KB | 79 lines |
-
- #
- # Makefore for transcript (print utility for reve).
- #
- # @(#)Makefile 1.3 91/02/21
- #
- # Copyright (C) 1991 - Valerie Haecky.
- # All rights reserved.
- #
- # Permission is granted to copy this source, for redistribution
- # in source form only, provided the news headers in "substantially
- # unaltered format" are retained, the introductory messages are not
- # removed, and no monies are exchanged.
- #
- # Permission is also granted to copy this source, without the
- # news headers, for the purposes of making an executable copy by
- # means of compilation, provided that such copy will not be used
- # for the purposes of competition in any othello tournaments, without
- # prior permission from the authors.
- #
- # No responsibility is taken for any errors on inaccuracies inherent
- # either to the comments or the code of this program, but if reported
- # (see README file), then an attempt will be made to fix them.
- #
- # BINDIR, LIBDIR, MANDIR and PROLOGUE are expected to be overridden by the
- # calling Makefile
-
- BINDIR = /usr/local/games
- LIBDIR = /usr/local/lib
- MANDIR = /usr/man/manl
- PROLOGUE = -DPROLOGUE=\"$(LIBDIR)\"
- #
- # Compilation flags and standard macro definitions.
- #
- CFLAGS = -O
- CPPFLAGS = $(PROLOGUE)
- #
- #==========================================================================
-
- .KEEP_STATE:
-
- CC = cc
-
- STDSRCS = trans.c
- OTHERS = README trans.man trans.man.text Makefile trans.ps
-
-
- all: trans
-
- trans: trans.c trans.ps
- cc $(CFLAGS) $(CPPFLAGS) trans.c -o trans
-
- debug: trans.c trans.ps
- cc -g $(CPPFLAGS) trans.c -o trans
-
- install:
- -cp trans $(BINDIR)
- -chmod 751 $(BINDIR)/trans
- -strip $(BINDIR)/trans
- -cp trans.ps $(LIBDIR)
- -chmod 644 $(LIBDIR)/trans.ps
-
- clean:
- rm -f *.o *.Z *.uu Part* $(BINARIES) core
-
- lint:
- lint $(STDSRCS)
-
- shar:; shar.script $(STDSRCS) $(OTHERS) > ../Part15
-
- create: SCCS
- -sccs create $(STDSRCS) $(OTHERS)
-
- SCCS:
- mkdir SCCS
- chmod 755 SCCS
-
- trans.o: trans.c
-